package com.sina.weibo;

import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.res.Resources;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.view.Display;
import android.view.KeyEvent;
import android.view.WindowManager;
import android.widget.BaseAdapter;
import android.widget.ListView;
import java.util.ArrayList;
import java.util.List;

public class MoreItemsActivity extends BaseActivity
{
  private final int ABOUT = 5;
  private final int ACCOUNTMANAGE = 1;
  private final int FEEDBACK = 4;
  private final int OFFICIALWEIBO = 3;
  private final int READMODE = 2;
  private final int SETTINGS = 0;
  private BaseAdapter adapter;
  private List<Integer> imageList;
  private ListView listView;
  private List<String> textList;

  protected void handleTitleBarEvent(int paramInt)
  {
  }

  public void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setView(2130903063);
    String str1 = getString(2131427442);
    setTitleBar(1, null, str1, null);
    ArrayList localArrayList1 = new ArrayList();
    this.imageList = localArrayList1;
    List localList1 = this.imageList;
    Integer localInteger1 = Integer.valueOf(2130837993);
    boolean bool1 = localList1.add(localInteger1);
    List localList2 = this.imageList;
    Integer localInteger2 = Integer.valueOf(2130837990);
    boolean bool2 = localList2.add(localInteger2);
    List localList3 = this.imageList;
    Integer localInteger3 = Integer.valueOf(2130838018);
    boolean bool3 = localList3.add(localInteger3);
    List localList4 = this.imageList;
    Integer localInteger4 = Integer.valueOf(2130837992);
    boolean bool4 = localList4.add(localInteger4);
    List localList5 = this.imageList;
    Integer localInteger5 = Integer.valueOf(2130837991);
    boolean bool5 = localList5.add(localInteger5);
    List localList6 = this.imageList;
    Integer localInteger6 = Integer.valueOf(2130837989);
    boolean bool6 = localList6.add(localInteger6);
    ArrayList localArrayList2 = new ArrayList();
    this.textList = localArrayList2;
    List localList7 = this.textList;
    String str2 = getResources().getString(2131427359);
    boolean bool7 = localList7.add(str2);
    List localList8 = this.textList;
    String str3 = getResources().getString(2131427646);
    boolean bool8 = localList8.add(str3);
    List localList9 = this.textList;
    String str4 = getResources().getString(2131427724);
    boolean bool9 = localList9.add(str4);
    List localList10 = this.textList;
    String str5 = getResources().getString(2131427659);
    boolean bool10 = localList10.add(str5);
    List localList11 = this.textList;
    String str6 = getResources().getString(2131427330);
    boolean bool11 = localList11.add(str6);
    List localList12 = this.textList;
    String str7 = getResources().getString(2131427360);
    boolean bool12 = localList12.add(str7);
    List localList13 = this.imageList;
    List localList14 = this.textList;
    MoreItemsAdapter localMoreItemsAdapter = new MoreItemsAdapter(this, localList13, localList14);
    this.adapter = localMoreItemsAdapter;
    DisplayMetrics localDisplayMetrics = new DisplayMetrics();
    getWindowManager().getDefaultDisplay().getMetrics(localDisplayMetrics);
    ListView localListView1 = (ListView)findViewById(2131624044);
    this.listView = localListView1;
    this.listView.getLayoutParams().height = -1;
    this.listView.getLayoutParams().width = -1;
    ListView localListView2 = this.listView;
    BaseAdapter localBaseAdapter = this.adapter;
    localListView2.setAdapter(localBaseAdapter);
    ListView localListView3 = this.listView;
    MoreItemsActivity.1 local1 = new MoreItemsActivity.1(this);
    localListView3.setOnItemClickListener(local1);
  }

  public boolean onKeyDown(int paramInt, KeyEvent paramKeyEvent)
  {
    if (paramInt == 4)
    {
      AlertDialog.Builder localBuilder1 = new AlertDialog.Builder(this);
      AlertDialog.Builder localBuilder2 = localBuilder1.setTitle(2131427444).setIcon(2130837926).setCancelable(0);
      MoreItemsActivity.2 local2 = new MoreItemsActivity.2(this);
      AlertDialog.Builder localBuilder3 = localBuilder2.setPositiveButton(2131427441, local2);
      MoreItemsActivity.3 local3 = new MoreItemsActivity.3(this);
      AlertDialog.Builder localBuilder4 = localBuilder3.setNegativeButton(2131427436, local3);
      AlertDialog localAlertDialog = localBuilder1.show();
    }
    boolean bool;
    for (int i = 1; ; bool = super.onKeyDown(paramInt, paramKeyEvent))
      return i;
  }
}

/* Location:           D:\Program Files\eclipse\apktool-r01-3\新浪微博\classes.dex.dex2jar.jar
 * Qualified Name:     com.sina.weibo.MoreItemsActivity
 * JD-Core Version:    0.6.0
 */